package cn.pconline.autoclub.entity;

import java.util.Date;
import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 * 车友会油值 需要实时更新的字段
 *
 * @author chensy
 */
@Entity(tableName = "ac_club_petrol")
public class ClubPetrol {

    @Id
    @Column(name = "club_id")
    private long clubId;//车友会Id
    @Column(name = "total_petrol")
    private long totalPetrol;//总油值
    @Column(name = "update_at")
    private Date updateAt;//更新时间

    public long getClubId() {
        return clubId;
    }

    public void setClubId(long clubId) {
        this.clubId = clubId;
    }

    public long getTotalPetrol() {
        return totalPetrol;
    }

    public void setTotalPetrol(long totalPetrol) {
        this.totalPetrol = totalPetrol;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }
}
